.drawer {
  width: auto;
  height: 100%;
  position: fixed;
  top: 0;
}

.drawer-inner {
  position: absolute
}

.drawer-left {
  left: 0
}

.drawer-right {
  right: 0
}

.drawer-hidden {
  display: none !important
}

.drawer-mask {
  position: fixed;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: rgba(55, 55, 55, .6);
  height: 100%;
  z-index: 1002;

  .drawer-mask-hidden {
    display: none
  }

  .drawer-mask-inner {
    position: absolute
  }
}

.drawer-wrap {
  position: fixed;
  overflow: auto;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 1002;
  -webkit-overflow-scrolling: touch;
  outline: 0;
  .drawer-wrap-inner {
    position: absolute
  }
  * {
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent
  }
}

.drawer-content {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  bottom: 0;
  background-color: #fff;
  border: 0;
  background-clip: padding-box;
  box-shadow: 0 4px 12px rgba(0, 0, 0, .15);

  .drawer-content-no-mask {
    pointer-events: auto
  }
}

.drawer-header {
  padding: 30px 24px 15px;
  height: 65px;

  .drawer-header-inner,
  .drawer-header p {
    display: inline-block;
    width: 100%;
    height: 20px;
    line-height: 20px;
    font-size: 18px;
    color: #303133;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap
  }

  .drawer-header p i,
  .drawer-header p span {
    vertical-align: middle
  }
}

.drawer-close {
  z-index: 1;
  font-size: 12px;
  position: absolute;
  right: 24px;
  top: 24px;
  overflow: hidden;
  cursor: pointer;

  .el-icon-close {
    position: relative;
    font-size: 24px;
    color: #999;
    top: 1px;
    transition: color .2s ease;

    &:hover {
      color: #444
    }
  }
}

.drawer-body {
  width: 100%;
  height: calc(100% - 65px);
  font-size: 12px;
  line-height: 1.5;
  word-wrap: break-word;
  position: absolute;
  overflow: auto;
  .drawer-body-scroll {
    height: 100%;
    .el-scrollbar__wrap{ 
      overflow-x: hidden;
    }
  }
}

.drawer-no-header {
  .drawer-body {
    height: 100%;
  }
}

.drawer-no-mask {
  pointer-events: none
}
















